#pragma once

namespace dotNetInteropPlugin {
	using namespace System;

	public value class WinFormHandleWrapper: System::Windows::Forms::IWin32Window
	{
	public:
		WinFormHandleWrapper(IntPtr Wnd)
		{
			_hndl = Wnd;
		}

		property IntPtr Handle
		{
			virtual IntPtr get() override
			{
				return _hndl;
			}
		}
	private:
		IntPtr _hndl;
	};
}